<?php
// +----------------------------------------------------------------------
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
// +----------------------------------------------------------------------

namespace app\common\model;

/**
*
*/
class Dept extends Base{




	public function getDeptList($orgId){
		if (!$orgId || !$orgId) {
			$this->error = '机构 ID 不能为空';
			return false;
		}
		$list = $this->where(array('org_id'=>$orgId))->select();
        return $list;

	}


}